﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Dommel;

namespace Bird.OAWeb.Ropesitory
{
    public interface IBaseRopesitory<T> where T : class,new()
    {
        int Inset(T entity);
        bool Update(T entity);
        bool Delete(T entity);
        bool DeleteById(object id);
        T GetById(object objId);
        List<T> GetList();
    }
}
